package com.neo.model;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import java.io.Serializable;

/**
 * <Description> 能力调用信息<br>
 *
 * @author liulonglong<br>
 * @version 1.0<br>
 * @taskId <br>
 * @CreateDate 2019年9月5日 <br>
 */
public class AbiCallInfo implements Serializable {

    /**
     * id <br>
     */
    @Id
    private String id;

    /**
     * serialVersionUID <br>
     */
    private static final long serialVersionUID = 1L;

    /**
     * accId 账户<br>
     */
    @Indexed
    private String accId;

    /**
     * api 能力名称<br>
     */
    private String api;

    /**
     * amount 计费金额<br>
     */
    private Long amount;

    /**
     * extField 预留扩展字段<br>
     */
    private String extField;

    /**
     * changeTime 变更时间<br>
     */
    @Indexed
    private String changeTime;

    /**
     * isAddDb 是否汇总 0 未汇总 1已汇总<br>
     */
    private String isAddDb = "0";

    /**
     * get accId
     *
     * @return Returns the accId.<br>
     */
    public String getAccId() {
        return accId;
    }

    /**
     * set accId
     *
     * @param accId The accId to set. <br>
     */
    public void setAccId(String accId) {
        this.accId = accId;
    }

    /**
     * get api
     *
     * @return Returns the api.<br>
     */
    public String getApi() {
        return api;
    }

    /**
     * set api
     *
     * @param api The api to set. <br>
     */
    public void setApi(String api) {
        this.api = api;
    }

    /**
     * get amount
     *
     * @return Returns the amount.<br>
     */
    public Long getAmount() {
        return amount;
    }

    /**
     * set amount
     *
     * @param amount The amount to set. <br>
     */
    public void setAmount(Long amount) {
        this.amount = amount;
    }

    /**
     * get extField
     *
     * @return Returns the extField.<br>
     */
    public String getExtField() {
        return extField;
    }

    /**
     * set extField
     *
     * @param extField The extField to set. <br>
     */
    public void setExtField(String extField) {
        this.extField = extField;
    }

    /**
     * get changeTime
     *
     * @return Returns the changeTime.<br>
     */
    public String getChangeTime() {
        return changeTime;
    }

    /**
     * set changeTime
     *
     * @param changeTime The changeTime to set. <br>
     */
    public void setChangeTime(String changeTime) {
        this.changeTime = changeTime;
    }

    /**
     * get isAddDb
     *
     * @return Returns the isAddDb.<br>
     */
    public String getIsAddDb() {
        return isAddDb;
    }

    /**
     * set isAddDb
     *
     * @param isAddDb The isAddDb to set. <br>
     */
    public void setIsAddDb(String isAddDb) {
        this.isAddDb = isAddDb;
    }

    /**
     * get id
     *
     * @return Returns the id.<br>
     */
    public String getId() {
        return id;
    }

    /**
     * set id
     *
     * @param id The id to set. <br>
     */
    public void setId(String id) {
        this.id = id;
    }

}
